// 员工首页
var baseExp = require('../../../common/BaseExpress');
Page({
  behaviors: [baseExp],

  /**
   * 页面的初始数据
   */
  data: {
    
    
  },



  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  nav_click(e){
    
    wx.navigateTo({
      // url:'/pages/cls/staff/list/Index'
      url: e.currentTarget.dataset.url,
    })
  },
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function() {
  	return {
  		title: '源花采购',
  		path: 'pages/cls/index/index?uid=' + +getApp().globalData.userInfo.uid,
  		success: (res) => {
  			console.log("转发成功", res);
  		},
  		fail: (res) => {
  			console.log("转发失败", res);
  		}
  	}
  }

})